package com.haiyan.demo14_构造方法的注意事项;

public class Test {
    public static void main(String[] args) {
        Student stu=new Student();
        Student stu1=new Student("张三");
        Student stu2=new Student(18);
        Student stu3=new Student("张三",18);
        stu.show();
        stu1.show();
        stu2.show();
        stu3.show();
    }
}
